package com.ctrip.cap.client;

import java.io.IOException;
import java.util.List;

import com.ctrip.cap.domain.traversal.TraversalDomain;
import com.ctrip.cap.domain.traversal.TraversalTarget;

public interface TraversalServiceClient {
	public void addJsonFilePathToDB(TraversalDomain data);
	public byte[] downloadTraversalFile(TraversalDomain domain) throws IOException;
	public List<TraversalDomain> getTraversalInfo(TraversalDomain domain);
	public byte[] downloadTaregetFile(TraversalTarget domain) throws IOException;
	public List<TraversalTarget> getTraversalTargetInfo(TraversalTarget domain);
	public void migrateTraversalInfoToTargetTemplate(TraversalDomain domain);
}
